// 自动生成模板JudgmentParagraph
package flaud

import (
	"github.com/flipped-aurora/gin-vue-admin/server/global"
)

// 裁决结果管理 结构体  JudgmentParagraph
type JudgmentParagraph struct {
	global.GVA_MODEL
	ParagraphOrder    *int    `json:"paragraphOrder" form:"paragraphOrder" gorm:"column:paragraph_order;comment:裁判段序号;" binding:"required"` //序号
	DefendantName     *string `json:"defendantName" form:"defendantName" gorm:"column:defendant_name;comment:被告人姓名;" binding:"required"`    //被告人
	CrimeCharge       *string `json:"crimeCharge" form:"crimeCharge" gorm:"column:crime_charge;comment:罪行名称;" binding:"required"`           //罪行
	Sentence          *string `json:"sentence" form:"sentence" gorm:"column:sentence;comment:判决内容;type:text;" binding:"required"`           //判决
	PrisonTerm        *string `json:"prisonTerm" form:"prisonTerm" gorm:"column:prison_term;comment:刑期信息;"`                                 //刑期
	Fine              *string `json:"fine" form:"fine" gorm:"column:fine;comment:罚金信息;"`                                                    //罚金
	SettlementDetails *string `json:"settlementDetails" form:"settlementDetails" gorm:"column:settlement_details;comment:赔偿详情;type:text;"`  //赔偿
}

// TableName 裁决结果管理 JudgmentParagraph自定义表名 judgment_paragraphs
func (JudgmentParagraph) TableName() string {
	return "judgment_paragraphs"
}
